
.withe{
  background: white;
}
.top{
  position: relative;
}
.bottom{
  margin-top: 1.5rem;
  display: flex;
}
#head{
  width: 100%;
  height: 20rem ;
}
h2{
  font-weight: 400;
}

h3{

  font-size: 1.5rem;
  font-weight: 500;
  color: rgb(14,165,80);

  span{
    display: inline-block;
    margin-right: 0.6rem;
  }
}
.OldPrice{
  text-decoration:line-through;
  font-size: 1.3rem;
  color: rgb(82,83,84);
}
.sales{
  text-decoration: none;
  display: block;
  float: right;
  margin-right: 3rem;
}
.red{
  text-align: center;
  width: 7rem;
  height: 3rem;
  font-size: 2rem;
  line-height: 3rem;
  background-color: red;
  position: absolute;
  right: 0rem;
  top: 17rem;
  color: white;
}

.switch{
  width: 19rem;
  height: 4.5rem;
  //outline: blue;
  border:rgb(234,235,236) solid 0.2rem;
  text-align: center;
  display: block;
  text-decoration: none;
  line-height: 4.5rem;
  font-size: 2rem;
  color: rgb(110,110,110);
  border-radius: 0.4rem;
  overflow: hidden;
  h2{
    line-height: 4.5rem;
    color: rgb(225,15,83);
    color: rgb(110,110,110);

  }
}

.btn{

  border-top: 0.2rem solid rgb(225,15,83);
  color: rgb(225,15,83);
}
.btn2{
  margin-top: 1rem;
  width: 100%;
  height: 4.5rem;
  display: flex;
  background: white;
  border: 0.1rem solid rgb(229,230,231);
  div{
    width: 50%;
    text-align: center;
    line-height: 4.5rem;
    font-size: 2rem;
    border-left: 0.1rem solid rgb(229,230,231);
    border-right: 0.1rem solid rgb(229,230,231);
    border-radius: 0.1rem;
  }
}
.show{
  border-top:0.1rem solid rgb(225,15,83);
  color: rgb(225,15,83);
}
.inlien{
  margin-bottom: 1rem;
}
.evaluation{
  border-top: 0.1rem solid rgb(229,230,231);
  display: flex;
  width: 95%;
  margin: 0 auto;
  div{
    display: flex;
    justify-content: space-between;
    line-height: 9rem;
    h2{
      font-size: 1.8rem;
    }
  }
}

.photo{
  width: 8rem;
  height: 8rem;
  border-radius: 5rem;
  border: 0.5rem solid rgba(110,110,110,0.2);
  border-style: outset;
  margin-right: 2rem;
  overflow: hidden;
  img{
    width: 8rem;
    height: 8rem;
  }
}
.eva{
  width: 70%;
  .time{
    color: rgb(132, 133,134);
  }
}
.text{
  color: rgb(106,107,108);
  font-size: 1.8rem;
  width: 95%;
  margin: 1rem auto;
  border-style: outset;
  border: 0.1rem solid white;
  border-top:0.1rem solid rgb(183,184,185) ;
  background: rgb(229,230,231) ;
}
app-nav{
  width: 100%;
  position: fixed;
  bottom: 0;
}

app-waiter{
  position: absolute;
  right: 0;
  bottom: 15%;
}


// 购物车提醒框
.box{
  position: fixed;
  bottom: 0;
  background: white;
  width: 100%;
  height: 28rem;
  border-top: 0.1rem solid black;
  //border-radius: 0.5rem;
  z-index: 1;
}
.upbox{
  display: flex;
  .img2{
    width: 12rem;
    height: 7rem;
    border: 0.1rem solid black;
    position: relative;
    bottom: 2rem;
    //left: 0.5rem;
    border-radius: 0.4rem;
    overflow: hidden;
    margin: 0 0.8rem;
  }
  img{
    width: 12rem;
    height: 7rem;
  }
  .state{

    margin-top: 0.5rem;
    #price{
      font-size: 1.6rem;
      margin-right: 2rem;
    }
    #OldPrice{
      font-size: 1.5rem;
      text-decoration:line-through;
    }
    #count{
      font-size: 1.7rem;
    }
    img{
      width: 2.5rem;
      height: 2.5rem;
      position: absolute;
      right: 1rem;
      top: 0.2rem;
    }
  }
}
.bottombox{
  display: flex;
  height: 3rem;
  line-height: 3rem;
  margin-top: 3rem;
  text-align: center;
  h2{
    font-size: 1.7rem;
    display: inline-block;
    margin-left: 4rem;
    margin-right: 4rem;
  }
  div{
    width: 2.5rem;
    height: 2rem;
    border: 0.1rem solid black;
    margin-top: 0.5rem;
    font-size: 1.6rem;
    line-height: 2rem;
  }
  .amount{
    font-size: 2.5rem;
    margin: 0 1.5rem;
    display: inline-block;
  }
  #num {
    font-size: 1.7rem;
  }
}
#enter{
  width: 100%;
  height: 5rem;
  position: absolute;
  bottom: 0;
  text-align: center;
  font-size: 2rem;
  line-height: 5rem;
  background: rgb(225,15,83);
  color: white;
}






//导航栏

.head{
  display: flex;
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 5.5rem;
  justify-content:space-between;
  background: white;
}
// 左导航
.part1{

  border-top: 0.2rem solid rgb(232,234,235);
  width: 45%;
  display: flex;
  justify-content:space-between;
  div{
    outline: none;
    width: 50%;
    text-align: center;
    img{
      width: 3.5rem;
      margin-top: 0.2rem;
    }
  }
  h2{
    margin-top: -0.6rem;
    font-size: 1.4rem;
    color: rgb(81,81,81);
  }
}
// 右导航
.part2{
  outline: none;
  display: flex;
  width: 55%;
  div{
    width: 50%;
  }
  .green{
    background: rgb(56,176,110);
    text-align: center;
    span{
      //display: inline-block;
      font-size: 1.4rem;
      color: white;
      line-height: 5.5rem;
      margin-top: 2.0rem;
    }

  }
  #red{
    background: rgb(225,15,83);
    text-align: center;
    span{
      //display: inline-block;
      font-size: 1.4rem;
      color: white;
      line-height: 5.5rem;
      margin-top: 2.0rem;
    }

  }
}

//  购物车数量提醒
.gode{
  text-align: center;
  z-index: 1;
  position: absolute;
  top: 0;
  left: 13.5rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 25px;
  background: rgb(225,15,83);
  color: white;
  font-size: 1.3rem;
  line-height: 1.5rem;
}
